/*
 * @Author: 
 * @Date: 2021-02-05 09:13:33
 * @Last Modified by: 
 * @Last Modified time: 2021-07-23 13:41:51
 */
import React from 'react';
import ReactDOM from 'react-dom';
// import { ACHIEVE_LOCAL } from '@/store/types';
import config from '@/config';
import App from './App';
// import env from '@/config/envMaps';

// function initial() {
//   if (env.domain) {
//     document.domain = env.domain;
//   } else if (!config.isMainApp) {
//     try {
//       window.parent.localStorage;
//     } catch (err) {
//       window.parent.postMessage({ type: ACHIEVE_LOCAL, data: window.name }, '*');
//     }
//   }
// }

// initial();

ReactDOM.render(React.createElement(App), document.getElementById('app'));
